package org.game.netty.oldcoder.other;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.sojoys.artifact.factory.message.IMessage;
import com.sojoys.artifact.factory.message.IMessageFactory;
import com.sojoys.artifact.factory.message.SimpleMessage;
import com.sojoys.artifact.manager.MessageManager;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;

/**
 * 消息对象工厂Netty实现，负责通过明文协议转换成消息对象的创建和解析校验工作
 * 
 * @author wk.dai
 */
public class HuanjieMessageFactory implements IMessageFactory{
	private Logger logger = LoggerFactory.getLogger(getClass());

	@Override
	public IMessage create() {
		return new HuanjieMessage();
	}

}
